<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<zmn th:fragment="query">
    <div class="layui-form-item layui-form-item-sm" style="margin-right: 10px">
        <div class="layui-row">
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">业务类型</label>
                    <div class="layui-input-block">
                        <select name="bizType" id="bizType" lay-search>
                            <option value="" th:selected="${0 == vo.bizType}">全部</option>
                            <option th:value="${item.key}"
                                    th:text="${item.value}"
                                    th:selected="${item.key == vo.bizType}"
                                    th:each="item:${bizTypeList}">平台
                            </option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">评价类型</label>
                    <div class="layui-input-block">
                        <select name="type" id="type" lay-search>
                            <option value="" th:selected="${0 == vo.type}">请选择</option>
                            <option th:value="${item.key}"
                                    th:text="${item.value}"
                                    th:selected="${item.key == vo.type}"
                                    th:each="item:${commentTypeList}">
                            </option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">状态</label>
                    <div class="layui-input-block">
                        <select name="status" id="status">
                            <option value="">请选择</option>
                            <option value="1" th:selected="${vo.status == 1}">停用</option>
                            <option value="2" th:selected="${vo.status == 2}">正常</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">评星</label>
                    <div class="layui-input-block">
                        <select name="stars" id="stars" lay-filter="stars">
                            <option value="">请选择</option>
                            <option th:value="${item.key}"
                                    th:text="${item.value}"
                                    th:selected="${item.key == vo.stars}"
                                    th:each="item:${stars}">取消
                            </option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3 layui-col-sm4">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">重点评价</label>
                    <div class="layui-input-block">
                        <select name="keyComment" id="keyComment">
                            <option value="">请选择</option>
                            <option value="1" th:selected="${vo.keyComment == 1}">否</option>
                            <option value="2" th:selected="${vo.keyComment == 2}">是</option>
                        </select>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3 layui-col-sm4 ">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label">评价内容</label>
                    <div class="layui-input-block">
                        <input type="text" name="commentOrId" th:value="${vo.commentOrId}" placeholder="请输入ID/名称" autocomplete="off" class="layui-input"
                               maxlength="45"/>
                    </div>
                </div>
            </div>
            <div class="layui-col-md3 layui-col-sm4 ">
                <div class="layui-form-item layui-form-item-sm">
                    <label class="layui-form-label"></label>
                    <button class="layui-btn layuiadmin-btn-admin" lay-submit id="query-submit"
                            lay-filter="query-submit">
                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                    </button>
                </div>
            </div>
        </div>
        <div class="layui-split">&nbsp;</div>
    </div>
</zmn>